package showcase

import (
	"github.com/templui/templui/internal/components/button"
	"github.com/templui/templui/internal/components/icon"
)

templ ButtonWithIcon() {
	@button.Button(button.Props{
		Class:   "flex gap-2 items-center",
		Variant: button.VariantSecondary,
	}) {
		// Default icon size in @button is 16x16
		// Use Class: "size-6" for larger icons
		@icon.Mail()
		Login with Email
	}
}
